<template>
  <div class="cell" @click="handlercilck">
    <div class="left">
       <slot name="left"></slot>
      {{ title }}
      </div>
    <div class="right">
      {{ content }}
      <slot name="right"></slot>
       <van-icon name="arrow"></van-icon>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title", "content", "tourls"],
  methods: {
    handlercilck(e) {
      this.$emit("click", e);
    },
  },
};
</script>

<style lang='less' scoped>
.cell {
  padding: 20px 10px;
  display: flex;
  justify-content: space-between; //靠两边
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  > .right {
    font-size: 13px;
    color: #888;
    .iconjiantou1 {
      font-size: 13px;
    }
  }
}
</style>